package com.purax.pms.bean.bo;


import com.purax.pms.common.bo.BaseBo;

import java.time.LocalDateTime;

/**
 * <p>
 *  业务操作日志
 * </p>
 *
 * @author alex
 */
public class SysBizOperationLog extends BaseBo<Long> {

    /**
     * 操作状态 1:正常 2:异常
     */
    private Integer state;

    /**
     * 操作人名称
     */
    private String userName;

    /**
     * 业务名
     */
    private String bizName;

    /**
     * 全类名
     */
    private String classFullName;

    /**
     * 方法名
     */
    private String actionMethod;


    /**
     * 参数
     */
    private String params;

    /**
     * 返回信息
     */
    private String returnContent;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 完成时间
     */
    private LocalDateTime finishTime;

    /**
     * 消耗时间
     */
    private Long consumingTime;


    /**
     * 异常全类名
     */
    private String exClassFullName;

    /**
     * 异常信息
     */
    private String exDetail;




    /**
     * 操作人
     */
    private SysUser operator;


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getBizName() {
        return bizName;
    }

    public void setBizName(String bizName) {
        this.bizName = bizName;
    }

    public String getClassFullName() {
        return classFullName;
    }

    public void setClassFullName(String classFullName) {
        this.classFullName = classFullName;
    }

    public String getActionMethod() {
        return actionMethod;
    }

    public void setActionMethod(String actionMethod) {
        this.actionMethod = actionMethod;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getReturnContent() {
        return returnContent;
    }

    public void setReturnContent(String returnContent) {
        this.returnContent = returnContent;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(LocalDateTime finishTime) {
        this.finishTime = finishTime;
    }

    public Long getConsumingTime() {
        return consumingTime;
    }

    public void setConsumingTime(Long consumingTime) {
        this.consumingTime = consumingTime;
    }

    public String getExClassFullName() {
        return exClassFullName;
    }

    public void setExClassFullName(String exClassFullName) {
        this.exClassFullName = exClassFullName;
    }

    public String getExDetail() {
        return exDetail;
    }

    public void setExDetail(String exDetail) {
        this.exDetail = exDetail;
    }

    public SysUser getOperator() {
        return operator;
    }

    public void setOperator(SysUser operator) {
        this.operator = operator;
    }
}
